<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  
  <body>
    <script>
      const canvas = document.createElement("canvas");
      document.body.append(canvas);
      const context = canvas.getContext("2d");
      context.fillRect(0, 0, 200, 200);
    </script>
    </body>
</html>
